<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>2-字符串的长度</title>
	</head>
	<body>
		<script type="text/javascript">
			var str = "会展中心校区";
			alert(str.length);
		</script>
	</body>
</html>
